package com.ocom.mqsubsidy.business.fee.impl;



import com.ocom.mqsubsidy.business.fee.FeeDataExportProductService;
import com.ocom.mqsubsidy.utils.FeeDataExportProductUitl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class FeeDataExportProductServiceImpl implements FeeDataExportProductService {
	private final Logger log = LoggerFactory.getLogger(FeeDataExportProductServiceImpl.class);

	@Autowired
	private FeeDataExportProductUitl feeDataExportProductUitl;

	/**
	 * 处理人员图片
	 */
	public void handle(String msg) {

		log.info(" 导出缴费数据-mq-开始【{}】",msg);
		//消息队列调用减库存接口  优先级越高越先执行完

		feeDataExportProductUitl.FeeDataExportSend(msg,15);

        log.info(" 导出缴费数据-完成【{}】",msg);

	}

}
